#include <iostream>
#include <stdlib.h>

using namespace std;

#include "Token.h"
#include "ExprNode.h"
#include "AddNode.h"
#include "IntNode.h"
#include "VectorNode.h"

int main(int argc, char *argv[])
{
    Token *plus = new Token(Token::PLUS, "+");
    Token *one = new Token(Token::INT, "1");
    Token *two = new Token(Token::INT, "2");
    ExprNode *root = new AddNode(new IntNode(one), plus, new IntNode(two));
    cout << root->to_string_tree() << endl;
    system("pause");
    return 0;
}
